﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HiddenGrid.aspx.cs" Inherits="DemoGrid.HiddenGrid" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:GridView ID="grdHidEmployeeDtls" runat="server" ShowHeader="false" ShowFooter="false"
            AutoGenerateColumns="False" TabIndex="1" AllowPaging="false" DataKeyNames="ID"
            Width="100%" GridLines="Both" CellPadding="3" AllowSorting="True"
            BackColor="White">
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="Employee Id">
                <ItemStyle Width="10%" />
                </asp:BoundField>

                <asp:BoundField DataField="EmployeeName" HeaderText="Employee Name">
                <ItemStyle Width="10%" />
                </asp:BoundField>

                <asp:BoundField DataField="Location" HeaderText="Location">
                <ItemStyle Width="10%" />
                </asp:BoundField>

                
                <asp:BoundField DataField="Department" HeaderText="Department">
                <ItemStyle Width="10%" />
                </asp:BoundField>

             </Columns>            
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />            
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />            
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <AlternatingRowStyle BackColor="#F7F7F7" />            
        </asp:GridView>
    </form>
</body>
</html>
